********************************************************************************
* appendix table 6: far far diff in diff

********************************************************************************

cd "$main_dir/data"

local dist_list 600 800

foreach max_dist in `dist_list'{
		
	use far_far_m`max_dist'_i250_g,clear
	
	di "SPECIFICATION DETAILS"
	di "max" "`max_dist'" 

	reghdfe lrent treated_after /// 
		i.listing_bedroom i.listing_bathroom ///
		if building_sample==1 & min_number>0  ///
		[aweight=building_sample_weight],absorb(msa_year building_id) vce(cl building_id)

	capture drop building_tag
	egen building_tag=tag(building_id)
	tab treated if building_tag==1 & building_sample==1 & min_number>0 
		
		}
	}

